<template>
 <div class="yanse">index页面</div>
</template>
<script>
import {getcitys} from '@/api/admin'
export default {
  name: "index",
  data() {
    return {
    }
  },
  mounted() {
    this.test()
  },
  methods:{
    test(){
      getcitys({}).then(res=>{
        console.log(res)
      }).catch(err=>{
        console.log(err)
      })
    }
  }
}

</script>

<style scoped lang="scss">
.yanse{
  color: red;
}
</style>
